package com.aysafety.iotdataplatformweb.dao;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @program: iotDataPlatform
 * @description: 风速
 * @author: ChengQi
 * @create: 2019-02-14 13:37
 **/
@Mapper
@Repository
public interface WindsDao {

    /**
    * @Description: 风速实时数据数量
    * @Param: [parram]
    * @return: long
    * @Author: ChengQi
    * @Date: 2019/2/14
    */
    long countByWinds(Map<String, Object> parram);

    /**
    * @Description: 风速实时数据
    * @Param: [parram]
    * @return: java.util.List<java.util.Map<java.lang.String,java.lang.Object>>
    * @Author: ChengQi
    * @Date: 2019/2/14
    */
    List<Map<String, Object>> queryRealTimeByWinds(Map<String, Object> parram);

}
